//
//  RootViewController.h
//  ws-mgmt-client
//
//  Created by Cliff Duffey on 9/14/09. Mage Labs.
//

#import <UIKit/UIKit.h>
#import "Reachability.h"

#define kFilename		@"systems.plist" //filename of the file that holds our data

@interface RootViewController : UITableViewController {
	NSMutableArray *serverList; //the list of server names for the table
	BOOL inRoot;  //Used by ConfigureItemViewController to determine if View came from Root or ServerRoot
	
	Reachability* hostReach;
    Reachability* internetReach;
    Reachability* wifiReach;
	
	BOOL hostDead;
	BOOL networkDead;
}

@property (nonatomic, retain, readwrite) NSMutableArray *serverList;
@property (nonatomic, readwrite) BOOL inRoot;

- (void) addServer: (NSMutableDictionary *)server atIndex: (NSUInteger) index;
- (void) applicationWillTerminate: (NSNotification *) notification;

@end
